﻿package DevilCat
{	
	public class GameData {
		static const BUG = 0;		static const DARK = 1;		static const DRAGON = 2;
		static const ELECTRIC = 3;	static const FIGHT = 4;		static const FIRE = 5;
		static const FLYING = 6;	static const GHOST = 7;		static const GRASS = 8;
		static const GROUND = 9;	static const ICE = 10;		static const NORMAL = 11;
		static const POISON = 12;	static const PSYCHIC = 13;	static const ROCK = 14;
		static const STEEL = 15;	static const WATER = 16;	static const NONE = 17;		
		static var typeChart:Array = new Array(	[1,2,1,1,0.5,0.5,0.5,0.5,2,1,1,1,0.5,2,1,0.5,1,1],
									[1,0.5,1,1,0.5,1,1,2,1,1,1,1,1,2,1,0.5,1,1],
									[1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,0.5,1,1],
									[1,1,0.5,0.5,1,1,2,1,0.5,0,1,1,1,1,1,1,2,1],
									[0.5,2,1,1,1,1,0.5,0,1,1,2,2,0.5,0.5,2,2,1,1],
									[2,1,0.5,1,1,0.5,1,1,2,1,2,1,1,1,0.5,2,0.5,1],
									[2,1,1,0.5,2,1,1,1,2,1,1,1,1,1,0.5,0.5,1,1],
									[1,0.5,1,1,1,1,1,2,1,1,1,0,1,2,1,0.5,1,1],
									[0.5,1,0.5,1,1,0.5,0.5,1,0.5,2,1,1,0.5,1,2,0.5,2,1],
									[0.5,1,1,2,1,2,0,1,0.5,1,1,1,2,1,2,2,1,1],
									[1,1,2,1,1,0.5,2,1,2,2,0.5,1,1,1,1,0.5,0.5,1],
									[1,1,1,1,1,1,1,0,1,1,1,1,1,1,0.5,0.5,1,1],
									[1,1,1,1,1,1,1,0.5,2,0.5,1,1,0.5,1,0.5,0,1,1],
									[1,0,1,1,2,1,1,1,1,1,1,1,2,0.5,1,0.5,1,1],
									[2,1,1,1,0.5,2,2,1,1,0.5,2,1,1,1,1,0.5,1,1],
									[1,1,1,0.5,1,0.5,1,1,1,1,2,1,1,1,2,0.5,0.5,1],
									[1,1,0.5,1,1,2,1,1,0.5,2,1,1,1,1,2,1,0.5,1],
									[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]);
	}
}